home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Stock Market: Browser - Disc 1
/
TheStockMarketRoyaltyFreeImages-BrowserDisc1-WinMac.bin
/
pc
/
English-UK
/
Main.dir
/
00023_Script_Go Frame Script for central screen
< prev
next >
Wrap
Text File
|
2000-02-10
|
886b
|
47 lines
on exitFrame
go the frame
---Alternate rotate image
if the timer > 200 then
global gRotate, gCurrentPicture, gLastPicture
starttimer
if gCurrentPicture < gRotate then
put gCurrentPicture + 1 into gCurrentPicture
else
put 1 into gCurrentPicture
end if
set the member of sprite 6 = member gCurrentPicture of castlib "Rotate16"
-- put random(gRotate) into var
-- if var <> gCurrentPicture or var <> gLastPicture then
-- set the member of sprite 6 = member var of castlib "Rotate16"
-- put gCurrentPicture into gLastPicture
-- put var into gCurrentPicture
-- starttimer
-- end if
end if
sound stop 2
--Handle the buttons, rollovers
RollControl
end
on mousedown
-- PushControl
end